9e6cdd97778569d3b8d8063791c33cf45c71c40b,cdap-data-fabric/src/main/java/co/cask/cdap/data2/datafabric/dataset/service/DatasetInstanceService.java,DatasetInstanceService,updateExplore,#DatasetId#DatasetInstanceConfiguration#DatasetSpecification#DatasetSpecification#,501
Before Change
try {
exploreFacade.updateExploreDataset(datasetInstance.toId(), oldSpec, newSpec);
} catch (Exception e) {
String msg = String.format("Cannot enable exploration of dataset instance %s of type %s: %s",
datasetInstance, creationProperties.getProperties(), e.getMessage());
LOG.error(msg, e);
// TODO: at this time we want to still allow using dataset even if it cannot be used for exploration
//responder.sendString(HttpResponseStatus.INTERNAL_SERVER_ERROR, msg);
//return;
After Change
try {
exploreFacade.updateExploreDataset(datasetInstance.toId(), oldSpec, newSpec);
} catch (Exception e) {
LOG.error("Cannot update explore for dataset instance {} with old properties {} and new properties {}",
datasetInstance, oldSpec.getOriginalProperties(), creationProperties.getProperties(), e);
// TODO: at this time we want to still allow using dataset even if it cannot be used for exploration
}
}